body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace;
}

/* 设置返回按钮样式 */
.back {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.back a {
    text-decoration: none;
    color: #333;
}

.back .iconfont {
    font-size: 24px;
    transition: color 0.3s ease;
}

.back .iconfont:hover {
    color: #fff;
}

/*card */
.card {
    width: 360px;
    background-color: #f1f1f1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-section {
    height: 310px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

#image-container {
    width: 360px;
    height: 240px;
    overflow: hidden;
}

.nav {
    text-align: center;
}

.nav img {
    width: 80px;
    height: 50px;
    border: 1px solid #ddd;
    margin: 8px 2px;
    cursor: pointer;
    transition: 0.3s;
}

.nav img:hover {
    border-color: #308d65;
}

.price {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #308d65;
    font-size: 24px;

}

.product-info {
    padding: 24px;
}

.name {
    text-transform: uppercase;
    font-size: 24px;
    color: #333;

}

.dis {
    font-size: 16px;
    opacity: 0.7;
}

.btn {
    display: block;
    background: #308d65;
    text-align: center;
    color: #fff;
    padding: 10px;
    margin-top: 10px;
    transition: 0.3s;
}

.btn:hover {
    background: white;
    color: #308d65;
}